package com.example.mydesignmodule.combination;

import java.util.ArrayList;

/**
 * @author tgw
 * @date 2021/3/10
 * @describe
 */
abstract class Common {
    protected ArrayList<Common> commonArrayList = new ArrayList<>();

    protected String nodeName;//节点名

    public Common(String nodeName) {
        this.nodeName = nodeName;
    }

    abstract void doSomeThing();

    abstract void addCommon(Common common);

    abstract void removeCommon(Common common);

    abstract Common getCommon(int index);


}
